<div class="header">
    <back-Btn></back-Btn>
    待我审批
    <div class="right-btn" ng-click="search()">
        搜索
    </div>
    <ring-msg></ring-msg>
</div>
<div class="pd20 mt10">
    <div class="user-tab flex">
        <div class="user-item" ng-click="onClickTab($index)" ng-class="{active:isActiveTab($index)}" ng-repeat="item in tabList">{{item.title}}<span ng-show="isActiveTab($index)">({{taskList.count}})</span></div>
    </div>
</div>
<div class="container pageServe index aboutmepageServe" style="top:110px">
    <div class="list list-task" infinite-scroll='taskList.nextPage()' infinite-scroll-disabled='taskList.busy' infinite-scroll-distance='0' infinite-scroll-container='".aboutmepageServe"'>
        <div class="list-item list-item-logo" ng-repeat="(key,item) in taskList.items">
            <div class="date-pic"></div>
            <p class="date-pic-label">{{item.date}}</p>
            <div class="flex subitem" ng-click="goTaskDetail(subitem)" ng-repeat="subitem in item.dataList">
                <div class="list-item-type fNum{{subitem.name_.length}} task_{{subitem.formKey}}">
                    <div class="fw tc fs12">{{subitem.name_}}</div>
                </div>
                <div class="list-item-content">
                    <div class="flex">
                        <!-- <div class="list-item-pic w25"><img src="images/newtaskA.png" alt=""></div> -->
                        <div class="list-item-summry w75">{{subitem.assignee}}
                            <p class="fs12">{{subitem.createTime}}</p>
                        </div>
                    </div>
                    <div class="tip mt10" ng-if='subitem.businessKey'>{{subitem.businessKey}}</div>
                </div>
            </div>
        </div>
        <div ng-show='taskList.busy' class="tc">{{taskList.tip}}</div>
    </div>
</div>
<!-- 选择办证明细子项目 -->
<div class="list tablestyle pickceritem" ng-show="showCerPicker">
    <div class="list-item">
        <div class="grid list-content">
            <div class="col-1-4 c9">流程类别</div>
            <div class="col-3-4">
                <select ng-model="picker.processName" ng-options="item.value as item.key for item in resiTypeList">
                    <option value="">选择流程类别</option>
                </select>
            </div>
        </div>
        <div class="grid list-content">
            <div class="col-1-4 c9">关键字</div>
            <div class="col-3-4">
                <input type="text" ng-model="picker.keyWord" />
            </div>
        </div>
    </div>
    <div class="pickceritem-btn tc flex">
        <div class="cancel" ng-click="cacelDialog()">取消</div>
        <div class="confirm" ng-click="confirmDialog()">确定</div>
    </div>
</div>
<div app-footer></div>
